import instance from "./reset";
//获取数据
export let http_get=()=>{
    return instance.get('/youhui')
}
//删除
export let http_del=(id)=>{
    return instance.delete(`/youhui/${id}`)
}
//添加
export let http_add=(obj)=>{
    return instance.post('/youhui',obj)
}
//编辑
export let http_edit=(obj)=>{
    return instance.patch(`/youhui/${obj.id}`,obj)
}